package com.kbbywyclient.ui.contarct;

import com.kbbywyclient.data.entity.CreditCardIndex;
import com.kbbywyclient.data.entity.LoanIndex;
import com.kbbywyclient.ui.contarct.base.IBaseView;

/**
 * Created by FHW
 * on 2017/3/21
 */

public class MainContract {

    public interface View extends IBaseView {

        //贷款首页
        void loadSucLoanIndex(LoanIndex loanIndex);

//        void loadFaiLoanIndex(String errorMsg);

        //信用卡首页
//        void loadSucCreditIndex(CreditCardIndex creditCardIndex);

//        void loadFaiCreditIndex(String errorMsg);

        void finishRefresh();

        //检查版本
//        void loadSucSaleSetting(SalesSetting salesSetting);
//
//        void loadFaiSaleSetting(String errorMsg);

    }

    public interface Presenter {

        void getLoanIndex(String saleID);

//        void getCreditCardIndex(String saleID);

//        void getSalesSetting(String SalesID);
    }
}
